import { PageContainer } from '@/component/page-container';
import { Utils } from 'lfun-bg-comp';
import { Breadcrumb, Row, Col, Button, Input } from 'antd';
import React from 'react';

const Group = () => {
  const isSchool = Utils.getProps('isSchool');
  return (
    <PageContainer header={<Breadcrumb items={[{ title: '信息配置' }]} />}>
      <Row gutter={16} style={{ alignItems: 'center' }}>
        <Col xs={2} sm={4} md={6} lg={4} xl={2}>
          新教职工定义：
        </Col>
        <Col xs={2} sm={4} md={6} lg={3} xl={1}>
          入职
        </Col>
        <Col xs={2} sm={4} md={6} lg={6} xl={4}>
          <Input placeholder="请输入" />
        </Col>
        <Col xs={2} sm={4} md={6} lg={4} xl={2}>
          月内
        </Col>
      </Row>

      <div style={{ position: 'fixed', bottom: 20, width: '100%', textAlign: 'center' }}>
        {isSchool ? <Button type="primary">保存</Button> : <Button>返回</Button>}
      </div>
    </PageContainer>
  );
};

export default Group;
